CFLAG= -std=c++11
LFLAG= -lprotobuf
.PHONY:all
all: write read
write:write.cc contacts.pb.cc
	g++ -o $@ $^ $(CFLAG) $(LFLAG)
read:read.cc contacts.pb.cc
	g++ -o $@ $^ $(CFLAG) $(LFLAG)
.PHONY:clean
clean:
	rm -f write read